package com.example.design.observer;

import java.util.Observable;

public class Teacher extends Observable {
    public void go2TeacherRoom() {
        this.setChanged();
        this.notifyObservers("Jane");
    }
}
